.class abstract Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$VideoRunnable;
.super Lcom/burstly/lib/util/SafeRunnable;
.source "RewardsView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x402
    name = "VideoRunnable"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;


# direct methods
.method protected constructor <init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;Lcom/burstly/lib/component/networkcomponent/burstly/html/IDestroyableActivityLifecycleAware;)V
    .locals 0
    .parameter
    .parameter "lifecycleAware"

    .prologue
    .line 132
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$VideoRunnable;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    .line 133
    invoke-direct {p0, p2}, Lcom/burstly/lib/util/SafeRunnable;-><init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/IDestroyableActivityLifecycleAware;)V

    .line 134
    return-void
.end method


# virtual methods
.method public final doRun()V
    .locals 3

    .prologue
    .line 138
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$VideoRunnable;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    iget-object v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->mVideoView:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$VideoRunnable;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    iget-object v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->mVideoView:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView;

    invoke-virtual {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsVideoView;->isPrepared()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 139
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$VideoRunnable;->doVideoRun()V

    .line 143
    :goto_0
    return-void

    .line 141
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView$VideoRunnable;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;

    const-string v1, "videoNotLoaded"

    const/4 v2, 0x0

    new-array v2, v2, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v2}, Lcom/burstly/lib/component/networkcomponent/burstly/html/rewards/RewardsView;->fireVideoEvent(Ljava/lang/String;[Ljava/lang/Object;)V

    goto :goto_0
.end method

.method abstract doVideoRun()V
.end method
